package com.woniu.service.contentService;


import com.baomidou.mybatisplus.extension.service.IService;

import com.woniu.model.contentMService.entity.Permission;
import com.woniu.model.contentMService.vo.PageVo;
import com.woniu.model.contentMService.vo.PermissonMenuVo;

import java.util.List;

/**
 * <p>
 * 权限等级分配表 服务类
 * </p>
 *
 * @author 作者
 * @since 2023-10-26
 */
public interface IPermissionService extends IService<Permission> {

    List<PermissonMenuVo> findPermissionByManagerId(Long managerId);


    PageVo findAll(Integer pageNum, Integer pageSize, String permissionName);

    List<PermissonMenuVo> treeList();

}
